<article class="module width_full grid-wrapper">
	<header><h3 class="tabs_involved">Content Manager</h3></header>
	<table class="tablesorter" cellspacing="0"> 
		<thead> 
			<tr> 
 					<th><input type="checkbox"></th> 
					<th><?php echo $this->Paginator->sort('name'); ?></th> 
					<th><?php echo $this->Paginator->sort('simple_contrain'); ?></th>
					<th><?php echo $this->Paginator->sort('examples'); ?></th>  
					<th><?php echo __('Actions'); ?></th> 
			</tr> 
		</thead> 
		<tbody> 
		<?php
		foreach ($properties as $property): ?>
		<tr>
			<td><input type="checkbox"></td> 
			<td><?php echo h($property['Property']['name']); ?>&nbsp;</td>
			<td><?php echo h($property['Property']['simple_contrain']); ?>&nbsp;</td>
			<td><?php echo h($property['Property']['examples']); ?>&nbsp;</td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('action' => 'view', $property['Property']['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $property['Property']['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $property['Property']['id']), null, __('Are you sure you want to delete # %s?', $property['Property']['id'])); ?>
			</td>
		</tr>
		<?php endforeach; ?>
		</tbody> 
	</table>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</article><!-- end of content manager article -->

<!--	<p>
	<?php	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	
</p> -->

<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Property'), array('action' => 'add')); ?></li>
	</ul>
</div>
